package com.wanmait.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanmait.community.entity.Residence;

import java.util.List;

public interface ResidenceMapper extends BaseMapper<Residence> {
    int deleteByPrimaryKey(Integer id);

    int insert(Residence record);

    int insertSelective(Residence record);

    Residence selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Residence record);

    int updateByPrimaryKey(Residence record);

    List<Residence> selectByUid(Integer uid);

    int countByUid(Integer uid);
}